package com.stadium.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * @Description:
 * @Author WeiShunli
 * @Date 2021/5/11 16:05
 */
@Data
public class PlayerUserVo {


    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "id")
    private String id;

    @Length(min = 0, max = 50)
    @ApiModelProperty(value = "用户姓名(昵称)")
    private String name;

    @Length(min = 0, max = 50)
    @ApiModelProperty(value = "密码")
    private String password;

    @Length(min = 0, max = 20)
    @ApiModelProperty(value = "手机号")
    private String phoneNum;


    @Length(min = 0, max = 500)
    @ApiModelProperty(value = "头像")
    private String headPortrait;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "id")
    private String userId;


    @Length(min = 0, max = 10)
    @ApiModelProperty(value = "性别（0：未知 1：女 2：男）")
    private String sex;

    @Length(min = 0, max = 50)
    @ApiModelProperty(value = "地区")
    private String area;

    @Length(min = 0, max = 0)
    @ApiModelProperty(value = "身高 CM")
    private Integer height;

    @Length(min = 0, max = 0)
    @ApiModelProperty(value = "体重 KG")
    private Integer weight;

    @Length(min = 0, max = 0)
    @ApiModelProperty(value = "球龄")
    private Integer ballAge;

    @ApiModelProperty(value = "球衣编号")
    private Integer jerseyNum;

    @Length(min = 0, max = 10)
    @ApiModelProperty(value = "状态码（0：正常，1：异常）")
    private String statusCode;

    @Length(min = 0, max = 10)
    @ApiModelProperty(value = "删除码（0：正常 1：删除）")
    private String deleteCode;

    @Length(min = 0, max = 255)
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "更新人")
    private String updateUser;
}
